<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title> Page Ttitle </title>
        <meta name="description" content="" />

        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <!-- Inicio load HEAD -->
        <?= $this->load->view('head'); ?>
        <!-- FIM LOAD TOPO -->

    <body>
        <div class="navbar navbar-inverse">
            <div class="navbar-inner">
                <div class="container-fluid">


                    <a class="brand" href="#"><small><i class="icon-leaf"></i> nIndex Sistemas </small> </a>
                    <ul class="nav pull-right ace-nav">
                        <li class="purple">
                        </li>

                        <li class="green">
                        </li>

                        <li class="light-blue user-profile">
                            <a class="user-menu dropdown-toggle" href="#" data-toggle="dropdown">
                                <span id="user_info">
                                    <small>Bem vindo(a),</small> Tati
                                </span>
                                <i class="icon-caret-down"></i>
                            </a>
                            <ul id="user_menu" class="pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
                                <li><a href="#"><i class="icon-cog"></i> Editar Perfil</a></li>
                                <li class="divider"></li>
                                <li><a href="#"><i class="icon-off"></i> Sair</a></li>
                            </ul>
                        </li>
                    </ul><!--/nav-->

                </div><!--/container-fluid-->
            </div><!--/navbar-inner-->
        </div><!--/navbar-->

        <div class="container-fluid" id="main-container">
            <a href="#" id="menu-toggler"><span></span></a><!-- menu toggler -->

            <div id="sidebar" class="row-fluid">

                <div id="sidebar-shortcuts">
                    <div id="sidebar-shortcuts-large">
                        <br>

                    </div>
                    <div id="sidebar-shortcuts-mini">
                        <span class="btn btn-success"></span>
                        <span class="btn btn-info"></span>
                        <span class="btn btn-warning"></span>
                        <span class="btn btn-danger"></span>
                    </div>
                </div><!-- #sidebar-shortcuts -->

                <ul class="nav nav-list">
                    <li>
                        <a href="index.html">
                            <i class="icon-dashboard"></i>
                            <span>HOME MENU</span>

                        </a>
                    </li>

                    <!-- MENU -->
                    <?= $this->load->view('menu'); ?>
                    <!-- FIM MENU -->
                    <div id="sidebar-collapse"><i class="icon-double-angle-left"></i></div>

            </div><!--/#sidebar-->


            <div id="main-content" class="clearfix">

                <div id="breadcrumbs">
                    <ul class="breadcrumb">
                        <li><i class="icon-home"></i> <a href="#">Home</a><span class="divider"><i class="icon-angle-right"></i></span></li>
                        <li class="active">Alteração módulo 1</li>
                    </ul><!--.breadcrumb-->

                    <div id="nav-search">
                        <form class="form-search">
                        </form>
                    </div><!--#nav-search-->
                </div><!--#breadcrumbs-->



                <div id="page-content" class="clearfix">


                    <div class="row-fluid">
                        <!-- PAGE CONTENT BEGINS HERE -->

                        <div class="row-fluid">
                            <h3 class="header smaller lighter purple">Módulo 1 - Sensibilização</h3>
                            <div class="table-header">

                            </div>
                            <!-- Conteudo do formulario  -->

                            <div class="span8">

                                <?php
                                echo form_open('modeloum_c/update');
                                echo form_hidden('id', $modelo->id_modelo_um);
                                ?>


                                <div class="control-group">
                                    <label class="control-label" for="nome">Id do Sujeito</label>
                                    <div class="controls">
                                        <input type="text" id="id_sujeito" value="<?= @$modelo->id_sujeito ?>" name="id_sujeito">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label" for="id_centro">Centro de Pesquisa</label>
                                    <div class="controls">
                                        <select id="id_centro"  name="id_centro" >
                                            <?php // foreach ($funcionarios as $posicao => $funcionario) {  ?>
                                            <option value="1">A</option>
                                            <option value="2">B</option>
                                            <option value="3">C</option>

                                            <?php // }  ?>   
                                        </select>
                                    </div>
                                </div>


                                <div class="control-group">
                                    <label class="control-label" for="nome">Aceita participar?</label>
                                    <div class="controls">
                                        <input name="aceito_participar" value="Sim" type="radio"  <?= @$modelo->aceito_participar == 'Sim' ? 'checked' : ''; ?> /><span class="lbl"> Sim</span>
                                        <input name="aceito_participar"  value="Não" type="radio"   <?= @$modelo->aceito_participar == 'Não' ? 'checked' : ''; ?> /><span class="lbl"> Não</span>
                                    </div>
                                </div>
                                <br>

                                <div class="control-group">
                                    <label class="control-label" for="data_visita">Data de Visita</label>
                                    <div class="controls">
                                        <input type="text" class="datepicker" value="<?= setMaskDate(@$modelo->data_visita) ?>" name="data_visita"  id="data_visita">

                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="nome">Domicilio</label>
                                    <div class="controls">
                                        <textarea class="span3" id="form-field-8" name="domicilio"><?= @$modelo->domicilio ?></textarea>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="nome">Nova visita?</label>
                                    <div class="controls">
                                        <input name="nova_visita" value="Sim"  type="radio" <?= @$modelo->nova_visita == 'Sim' ? 'checked' : ''; ?> /><span class="lbl"> Sim</span>
                                        <input name="nova_visita" value="Não" type="radio" <?= @$modelo->nova_visita == 'Não' ? 'checked' : ''; ?> /><span class="lbl"> Não</span>
                                    </div>
                                </div>
                                <br>


                                <button type="submit" class="btn btn-primary" >Alterar Dados</button>
                            </div>



                            <?php echo form_close(); ?>

                        </div>
                        <span><?php if (@$modelo->aceito_participar == 'Sim') { ?>

                                <div id="fuelux-wizard" class="row-fluid hidden">
                                    <ul class="wizard-steps">
                                        <li data-target="#step1" class="active"><span class="step">1</span> <span class="title">Validation states</span></li>
                                        <li data-target="#step2"><span class="step">2</span> <span class="title">Alerts</span></li>
                                        <li data-target="#step3"><span class="step">3</span> <span class="title">Payment Info</span></li>
                                        <li data-target="#step4"><span class="step">4</span> <span class="title">Other Info</span></li>
                                    </ul>
                                </div>
                            <?php } else { ?>

                            <?php } ?>

                    </div>

                </div>
                <div class="widget-body">
                    <div class="widget-main">

                        <div class="row-fluid">
                            <div id="fuelux-wizard" class="row-fluid">
                                <ul class="wizard-steps">
                                    <li data-target="#step1" style="min-width: 20%; max-width: 20%;" class="active"><span class="step">1</span> <span class="title">Validation states</span></li>
                                    <li data-target="#step2" style="min-width: 20%; max-width: 20%;" ><span class="step">2</span> <span class="title">Alerts</span></li>
                                    <li data-target="#step3" style="min-width: 20%; max-width: 20%;" ><span class="step">3</span> <span class="title">Payment Info</span></li>
                                    <li data-target="#step4" style="min-width: 20%; max-width: 20%;" ><span class="step">4</span> <span class="title">Other Info</span></li>
                                    <li data-target="#step5" style="min-width: 20%; max-width: 20%;" ><span class="step">5</span> <span class="title">Other Info</span></li>
                                </ul>
                            </div>
                        </div>
                        <hr />



                    </div><!--/widget-main-->
                </div><!--/widget-body-->
                <!-- FIM Conteudo do formulario  -->

            </div>


            <!-- inicio footer Include -->
            <!-- PAGE CONTENT ENDS HERE -->
        </div><!--/row-->

    </div><!--/#page-content-->


</div><!--/#ace-settings-container-->


</div><!-- #main-content -->


</div><!--/.fluid-container#main-container-->

<!-- INICIO LOAD footer -->
<?= $this->load->view('footer'); ?>
<!-- FIM  LOAD footer -->

<!-- fim footer Include -->
</body>
</html>
